<nav class="nav nav-tabs nav-stacked">
    <a class="nav-link {{ active_class(if_route('admin')) }}" href="{{ route('admin') }}"><i
            class="fa fa-home " aria-hidden="true"></i></a>
    <a class="nav-link {{ active_class(if_route('site.site.create')) }}"
       href="{{ route('site.site.create') }}">添加站点</a>
    @if (if_route('site.site.edit'))
        <a class="nav-link {{ active_class(if_route('site.site.edit')) }}">编辑站点</a>
    @endif

</nav>
